<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首字母大写</title>
    <script src="../../vue.js"></script>
    <style>
    </style>
    <script>
        window.onload=function () {
            new Vue({
                el:'#box',
                data: {
                }
            });
        };
    </script>
</head>
<body>
<div id="box">
    <!--WeHUIGGuxbe-->
    <!--capitalize首字母大写的过滤器-->
    {{'weHUIGGuxbe'|capitalize}}
    <br>
    {{'BEAUTIFUL'|lowercase|capitalize}}
</div>
</body>
</html>